package club.cearnach.api.dao;


import club.cearnach.entity.Person;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author 阮胜
 * @date 2018/5/12 14:21
 */
public interface IPersonDao extends JpaRepository<Person, Integer> {
    List<Person> findByName(String name);
}
